package cn.com.xuhx;

import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import java.util.Date;

//定义此接口是webService接口
@WebService
public interface HelloService {

    //WebParam定义参数名称，不加默认从arg0开始命名
    @WebResult(name = "sayHelloResult")
    String sayHello(@WebParam(name="content") String content);

    String ryInfo(@WebParam(name = "bornDay") Date bornDay,@WebParam(name = "age") int age,@WebParam(name = "name") String name);
}
